﻿using FreeSql.DataAnnotations;
using IMES.Common.Dtos;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IMES.Common.Domain.GoldIngotModel
{
    /// <summary>
    /// 完工单
    /// </summary>
    public class CompletionOrder:Audit
    {
        /// <summary>
        /// 主键id
        /// </summary>
        [Column(IsIdentity = true, IsPrimary = true)]
        public int CompletionId { get; set; }
        /// <summary>
        /// 工序管理编号
        /// </summary>
        public int ProcessID { get; set; }
        /// <summary>
        /// 工单
        /// </summary>
        public int WorkSheetId { get; set; }

        /// <summary>
        /// 审批状态
        /// </summary>
        public int CompletionOrderStatus { get; set; } = 0;
        /// <summary>
        /// 审批时间
        /// </summary>
        public DateTime CompletionOrderDate { get; set; } = DateTime.Now;
    }
}
